// const getters = {
//   token: state => state.user.token,
//   user_id: state => state.user.user_id,
//   head_url:state => state.user.head_url,
//   user_name:state => state.user.user_name,
// }

// export default getters

const getters = {
  uid: state => state.userInfo.uid,
  name: state => state.userInfo.name,
  imgurl: state => state.userInfo.imgurl
}
export default getters




